package com.gzhryc.net_marketing.cloud.micro.api;

import com.gzhryc.common.config.PropertyTools;

public class MicroConstants {

	//micro-software-mng-api
	public final static String PROGRAM_TYPE = "micro_market_cloud_api";
	public final static String PROGRAM_TYPE_NAME = "商城项目API微服务";
	
	public final static Integer PAGE_LIMIT = 30;
	
	public final static String ATTR_LOGIN_MEMBER = "loginMember";
	
	public static Integer isDebug() {
		return PropertyTools.get().getInt(PROGRAM_TYPE + ".isDebug", 0);
	}

	public static String getResDomain(){
		return PropertyTools.get().getString("redDomain","");
	}
}
